package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 试验站对象 sys_station
 * 
 * @author ruoyi
 * @date 2022-07-29
 */
public class SysStation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 试验站名 */
    @Excel(name = "试验站名")
    private String stationName;

    /** 试验站id */
    private Long stationId;

    /** 父站id */
    private Long parentId;

    /** 试验站类型 A为试验站 B为示范县 */
    @Excel(name = "试验站类型 A为试验站 B为示范县")
    private String stationType;

    public void setStationName(String stationName) 
    {
        this.stationName = stationName;
    }

    public String getStationName() 
    {
        return stationName;
    }
    public void setStationId(Long stationId) 
    {
        this.stationId = stationId;
    }

    public Long getStationId() 
    {
        return stationId;
    }
    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }
    public void setStationType(String stationType) 
    {
        this.stationType = stationType;
    }

    public String getStationType() 
    {
        return stationType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("stationName", getStationName())
            .append("stationId", getStationId())
            .append("parentId", getParentId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("stationType", getStationType())
            .toString();
    }
}
